package VN.EDU.IMIC.DEVELOPER.VUVANLUANARRAY09;

public class views {

	public static void main(String[] args) {
		int[][] weeklyhours = new int [8][8];
		weeklyhours[0][0] = 2; 	weeklyhours[0][1] = 4; 		weeklyhours[0][2] = 3; 		weeklyhours[0][3] = 4; 	weeklyhours[0][4] = 5; 		weeklyhours[0][5] = 8;        weeklyhours[0][6] = 8;
		weeklyhours[1][0] = 7;		weeklyhours[1][1] = 3; 		weeklyhours[1][2] = 4; 		weeklyhours[1][3] = 3;		weeklyhours[1][4] = 3; 		weeklyhours[1][5] = 4; 		weeklyhours[1][6] = 4;
		weeklyhours[2][0] = 3;		weeklyhours[2][1] = 3; 		weeklyhours[2][2] = 4; 		weeklyhours[2][3] = 3;		weeklyhours[2][4] = 3; 		weeklyhours[2][5] = 2; 		weeklyhours[2][6] = 2;
		weeklyhours[3][0] = 9;		weeklyhours[3][1] = 3; 		weeklyhours[3][2] = 4; 		weeklyhours[3][3] = 7;		weeklyhours[3][4] = 3; 		weeklyhours[3][5] = 4; 		weeklyhours[3][6] = 1;
		weeklyhours[4][0] = 3;		weeklyhours[4][1] = 5; 		weeklyhours[4][2] = 4; 		weeklyhours[4][3] = 3;		weeklyhours[4][4] = 6; 		weeklyhours[4][5] = 3; 		weeklyhours[4][6] = 8;
		weeklyhours[5][0] = 3;		weeklyhours[5][1] = 4; 		weeklyhours[5][2] = 4; 		weeklyhours[5][3] = 6;		weeklyhours[5][4] = 3; 		weeklyhours[5][5] = 4; 		weeklyhours[5][6] = 4;
		weeklyhours[6][0] = 3;		weeklyhours[6][1] = 7; 		weeklyhours[6][2] = 4; 		weeklyhours[6][3] = 8;		weeklyhours[6][4] = 3; 		weeklyhours[6][5] = 8; 		weeklyhours[6][6] = 4;
		weeklyhours[7][0] = 6;		weeklyhours[7][1] = 3; 		weeklyhours[7][2] = 5; 		weeklyhours[7][3] = 9;		weeklyhours[7][4] = 2; 		weeklyhours[7][5] = 7; 		weeklyhours[7][6] = 9;
		
		Controllers objcontroller = new Controllers();
		for(int i=0; i < weeklyhours.length; i++){System.out.println(" tong h lam viec cua hang la : "+objcontroller.sogiolamviec(weeklyhours)[i]);}

	}

}
